<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<%@ include file="/commons/messages.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB18030">
<title>Insert title here</title>
<script language="JavaScript" type="text/javascript" src="${ctx}/scripts/public.js"></script>
<script language="JavaScript" type="text/javascript" src="${ctx}/scripts/public3.js"></script>
<script language="JavaScript" type="text/javascript" src="${ctx}/scripts/show.js"></script>
<script language="JavaScript" type="text/javascript" src="${ctx}/scripts/global.js"></script>
<script language="JavaScript" type="text/javascript" src="${ctx}/scripts/rightmenu2.js"></script>
<script language="JavaScript" type="text/javascript" src="${ctx}/scripts/extremetable/extremecomponents.js"></script>

<link href="${ctx}/styles/grid.css" rel="stylesheet" type="text/css">
<link href="${ctx}/styles/listTable.css" rel="stylesheet" type="text/css">
<link href="${ctx}/styles/show.css" rel="stylesheet" type="text/css" />
<link href="${ctx}/styles/public.css" rel="stylesheet" type="text/css">
<link href="${ctx}/styles/aux_window.css" rel="stylesheet" type="text/css">

<script type="text/javascript">
	function setVar(houseId,houseNum,index){
		parent.setHouseId(houseId);
		parent.setHouseNum(houseNum);
		parent.setIndex(index);
	}
	function resize(){
		parent.window.document.all("ownerHouseListIframe").style.height=document.body.scrollHeight;
	}

	function isShowContextMenu(event,flag){
		if ('0' == flag) {
			return false;
		}
		return ShowContextMenu(event,'quick_rightmenu3');
	}
</script>
</head>
<body onload="resize();">
	<ec:ceTable items="ownerHouseList" autoIncludeParameters="true"
			var="ownerHouseItem"
			action="${ctx}/customer_ownerAction.do?method=findOwnerHouseCachePage&contextMenuFlag=${contextMenuFlag}"
			rowsDisplayed="5"
			width="100%"
			view="pmsview"
			styleClass="gridData"
			>
		<ec:ceRow styleClass="grid" onclick="setVar('${ownerHouseItem.houseId}','${ownerHouseItem.houseNumber}','${ownerHouseItem.index}');" onContextMenu="return isShowContextMenu(event,'${contextMenuFlag}')">
			<ec:ceColumn property="houseNumber" headerCell="pmsHeadrCell" width="10%" title="房号"></ec:ceColumn>
			<ec:ceColumn property="houseContractNumber" headerCell="pmsHeadrCell"  width="20%"  title="买卖(预售)合同号"></ec:ceColumn>
			<ec:ceColumn property="housePropertyNo" headerCell="pmsHeadrCell"   width="22%" title="房产证号"></ec:ceColumn>
			<ec:ceColumn property="bankName" headerCell="pmsHeadrCell"   width="17%" title="银行名称"></ec:ceColumn>
			<ec:ceColumn property="bankNumber" headerCell="pmsHeadrCell"   width="20%" title="银行账号"></ec:ceColumn>
			<ec:ceColumn property="accountOwner" headerCell="pmsHeadrCell"   width="11%" title="开户人"></ec:ceColumn>
		</ec:ceRow>
		</ec:ceTable>

			  <!----  业主基本资料右键 开始---->
	      <div id="quick_rightmenu3" style="display:none;" oncontextmenu="return false" class="quick_rightmenu">
         <table width="100%" border="0" cellpadding="1" cellspacing="0" class="grid_quickMenu_bg" onMouseOver="MM_showHideLayers('qquick_menu','','show')" onMouseOut="MM_showHideLayers('quick_menu','','hidden')">
           <tr>
             <td><table width="100%" border="0" cellpadding="2" cellspacing="0">
                 <tr>
                   <td class="quickMenu_toolbarico"><a href="#"  onclick="parent.openHouseAdd();"onfocus="this.blur()"><img src="${ctx}/images/ico_newfile.gif" alt="" width="16" height="16" border="0" align="absbottom"> 新 建</a></td>
                 </tr>
                 <tr>
                   <td class="quickMenu_toolbarico"><a href="#" onFocus="this.blur()" onClick="parent.openHouseEdit();"><img src="${ctx}/images/ico_amend.gif" alt="" width="16" height="16" border="0" align="absbottom"> 修 改</a></td>
                 </tr>
                 <tr>
                   <td class="quickMenu_toolbarico"><a href="#" onClick="parent.openHouseDelete();" onFocus="this.blur()"><img src="${ctx}/images/ico_delete.gif" alt="" width="16" height="16" border="0" align="absbottom"> 删
                     除</a></td>
                 </tr>
             </table></td>
           </tr>
         </table>
      </div>
	   <!----  业主基本资料右键 结束---->
</body>
</html>